package com.lhsy.djcloud.service;

import com.lhsy.djcloud.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangzw
 * @since 2020-09-14
 */
public interface EmployeeService extends IService<Employee> {

    List<Employee> selectByDeptId(Integer deptId);

    List<Employee> selectByDeptIds(List<Integer> deptIds);

    List<Employee> selectByTenantId(Integer tenantId);

    int delete(Integer id);

    List<Employee> selectByIds(List<Integer> employeeIds);

    List<Employee> selectByDeptIdAndSearch(Integer deptId, String params);

    List<Employee> selectByDeptIdsAndSearch(List<Integer> depts, String params);

    List<Employee> selectByTenantIdAndSearch(Integer tenantId, Integer deptId,String params);
}
